﻿using Volo.Abp.Modularity;
using Xms.Abp.Modularity;
using Xms.Abp.Storage;
using Xms.Abp.Storage.DependencyInjection;

namespace PermissionManagement.Storage;

[DependsOn(typeof(PermissionManagementDomainModule))]
[DependsOn(typeof(XmsAbpStorageModule))]
public class PermissionManagementStorageModule : XmsModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddStorage<PermissionManagementStorage>(null, null, optionsBuilder: options =>
        {
            //options.AddRepository<PermissionGrant, PermissionGrantRepository>();
        });
    }
}
